package net.borlis.sample.services.facade.ws.response;

import net.borlis.sample.services.declaration.output.PaymentObject;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author alex@borlis.net on 08.09.2014.
 */
@XmlRootElement
public class VitoPaymentResponse {

    //todo::migration fix the layer mixing after moving to the rest pro
    private PaymentObject payment;

    public VitoPaymentResponse(){

    }

    public VitoPaymentResponse(PaymentObject payment) {
        this.payment = payment;
    }

    @XmlElement
    public PaymentObject getPayment() {
        return payment;
    }

    public void setPayment(PaymentObject payment) {
        this.payment = payment;
    }
}
